package org.JWCB.friend.domain.user.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.JWCB.common.core.domain.entity.BaseEntity;

@Getter
@Setter
@ToString
@TableName("tb_user")
public class User extends BaseEntity {

    @TableId(type = IdType.ASSIGN_ID)
    private Long userId;

    private String nickName;

    private String phone;

    private String headImage;

    private int sex;

    private String email;

    private String wechat;

    private String school;

    private String major;

    private String introduce;

    private int status;
}
